package com.stormragetech.arthas.process.proxy;

import com.stormragetech.arthas.common.exception.ArthasException;
import com.stormragetech.arthas.process.invocation.ActionInvoke;

import java.lang.reflect.Method;

/**
 * description: proxy interface
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
public interface Proxy<T> {

    T getAction();

    Method getMethod();

    void setInvoke(ActionInvoke invoke);

    String execute() throws ArthasException;
}
